<script>
export default {
  name: "w"
}
</script>

<template>
  <H1>轮播图</H1>
  <el-carousel style="width: 900px" >
    <el-carousel-item><img src="carousel1.jpg"  style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel2.jpg" style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel3.jpg" style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel4.jpg" style="width: 100%; height: 100%"></el-carousel-item>
  </el-carousel>

  <el-carousel style="width: 900px" type="card">
    <el-carousel-item><img src="carousel1.jpg"  style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel2.jpg" style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel3.jpg" style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel4.jpg" style="width: 100%; height: 100%"></el-carousel-item>
  </el-carousel>
  <el-carousel style="width: 900px" trigger="click">
    <el-carousel-item><img src="carousel1.jpg"  style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel2.jpg" style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel3.jpg" style="width: 100%; height: 100%"></el-carousel-item>
    <el-carousel-item><img src="carousel4.jpg" style="width: 100%; height: 100%"></el-carousel-item>
  </el-carousel>

</template>

<style scoped>

</style>